<center><img src="./imagens/cadastro_visitan.png"/></center><br /><br />
<form action="cadastro_visitante_banc.php" method="POST" id="cadastro_visitante">
    <fieldset style="line-height: 280%;">
        <b>RG:</b>
        <input size="10" id="rg" name="rg" type="text" onkeypress="return somentenumero(event)" />
        <input type="button" id="busca_rg" onclick="busca_rg_cadastro()" class="buscas" /> <br />
        <b>Nome:</b>
        <input type="text" name="nome" id="nome" size="50" disabled="true" style="text-transform:uppercase;"  /> <br />
        <b>Sobrenome:</b>
        <input type="text" name="sobrenome" id="sobrenome" disabled="true" size="50" style="text-transform:uppercase;"/> <br />
        <b>Empresa:</b>
        <input type="text" name="empresa" id="empresa" disabled="true"  size="50" style="text-transform:uppercase;" /> <br />
        <div id="div_foto"></div>
        <input type="button" id="capturar" value="Capturar" onclick="window.open('./tirar_foto.php', 'Pagina', 'STATUS=NO, TOOLBAR=NO, LOCATION=NO, DIRECTORIES=NO, RESISABLE=NO, SCROLLBARS=YES, TOP=10, LEFT=10, WIDTH=770, HEIGHT=400');" />
        <input type="submit" value="Enviar" />
        <input type="button" value="Limpar" onclick="javascript:window.history.go(0)"/>

    </fieldset>
 
</form>
<script>
    document.forms['cadastro_visitante'].reset();
</script>